package com.cn.domain;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 菜单对应的角色关系
 * Created by chenyuncong on 2019/9/16.
 */
@Table(name="sys_menu_role")
@Data
public class MenuAndRole {
    @Id
    private Integer id;
    @Column(name="menu_id")
    private Integer menuId;
    @Column(name="role_id")
    private Integer roleId;
}
